#!/usr/bin/python



import httplib, urllib



params = urllib.urlencode({'go': 'check',
			'prefijo': 11,
			'numero': 63057033,
			'compania': "AutoDetectar",
			'from': "manu",
			'nombre': "python",
			'message': "si lees esto avisame que te lo mande con python",
			'fechauno' : "HOY" ,
			'fechados' : "",
			'submit': "   Enviar Mensaje   "
	      })
	
	
headers = {
            "Accept": "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5",
            "User-Agent":"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.17) Gecko/20061201 Firefox/2.0.0.17 (Ubuntu-feisty)",
            "Keep-Alive":"300",
            "Connection":"keep-alive",
            "Referer":"http://www.mensajesacelulares.net/",
            "Content-type": "application/x-www-form-urlencoded",
            #"Content-Length":"202",
		    }


	

	
	

	
	
conn = httplib.HTTPConnection("www.mensajesacelulares.net")
	
conn.request("POST", "/", params, headers)
	
response = conn.getresponse()
	
print response.status, response.reason

data = response.read()
conn.close()